//
//  RootVC.m
//  CurrencyExchange
//
//  Created by Mac on 14-1-15.
//  Copyright (c) 2014年 Mac. All rights reserved.
//

#import "RootVC.h"

@interface RootVC ()

@end

@implementation RootVC

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.sorceV.layer.masksToBounds=YES;
    self.sorceV.layer.borderWidth=8;
    self.sorceV.layer.borderColor=[UIColor colorWithRed:230.0/255 green:230.0/255 blue:230.0/255 alpha:1].CGColor;
    self.sorceV.layer.cornerRadius=8;
    
    self.targetV.layer.masksToBounds=YES;
    self.targetV.layer.borderWidth=8;
    self.targetV.layer.borderColor=[UIColor colorWithRed:230.0/255 green:230.0/255 blue:230.0/255 alpha:1].CGColor;
    self.targetV.layer.cornerRadius=8;
    
    taptage=[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(KeyBoardHandle:)];
    [self.view addGestureRecognizer:taptage];
}

-(void)KeyBoardHandle:(UIGestureRecognizer*)tap{
    [self.priceField resignFirstResponder];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
